package com.monitor.dao;

import java.util.List;

import com.monitor.po.Contact;
import com.monitor.util.Pager;

public interface ContactDao {

	Pager<Contact> getContactByUid(long uid, int pageSize, int currentPage) throws Exception;

	boolean addContact(long uid, List<Contact> contacts) throws Exception;

	int deleteContactByUid(long uid) throws Exception;

	int deleteContact(long uid, String cid) throws Exception;

	int deleteContact(long uid, String[] phones) throws Exception;
}
